#include <stdio.h>
int main()
{
    int a = 100;
    char c = 'x';
    double f = 3.14;

    int b = 200;

    int *p1 = &a;
    char *p2 = &c;
    double *p3 = &f;

    printf("%p %d\n", p1, *p1);
    printf("%p %d\n", p2, *p2);
    printf("%p %lf\n", p3, *p3);

    p1 = &b;
    printf("%p %d\n", p1, *p1);

    return 0;
}